<?php 
namespace app\index\validate;
use think\Validate;

class Albumimg extends Validate
{
	protected $rule = [
	'imgname' => 'require|max:10',

	];

	protected $message = [
	'imgname.max' => '相片名不要超过10个字符',
	'imgname.require' => '相片名不能为空',

	];

}